package gradle.mybatis.common.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "分页查询参数")
public class PageQuery {

    /**
     * 查询页数
     */
    @Schema(description = "查询页数", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer pageNum;

    /**
     * 每页显示记录数
     */
    @Schema(description = "每页显示记录数", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer pageSize;

}